package com.acmen.easyapi.model;


import java.util.ArrayList;
import java.util.List;

/**
 * @author acmen
 * 测试用例报告
 */
public class TestCaseReport {
    private String id;//ID
    /**
     * 所属测试ID
     */
    private String testId;

    /**
     * 所属测试用例ID
     */
    private String testCaseId;

    /**
     * 所属测试用例名
     */
    private String testCaseName;

    /**
     * 样本总数
     */
    private int total;

    /**
     * 响应成功数
     */
    private int responseSuccessNum;

    /**
     * 业务成功数
     */
    private int businessSuccessNum;

    List<CallResult> callResults = new ArrayList<>();

    public String getId() {
        return id;
    }

    public TestCaseReport setId(String id) {
        this.id = id;
        return this;
    }

    public String getTestId() {
        return testId;
    }

    public TestCaseReport setTestId(String testId) {
        this.testId = testId;
        return this;
    }

    public String getTestCaseId() {
        return testCaseId;
    }

    public TestCaseReport setTestCaseId(String testCaseId) {
        this.testCaseId = testCaseId;
        return this;
    }

    public String getTestCaseName() {
        return testCaseName;
    }

    public TestCaseReport setTestCaseName(String testCaseName) {
        this.testCaseName = testCaseName;
        return this;
    }

    public int getTotal() {
        return total;
    }

    public TestCaseReport setTotal(int total) {
        this.total = total;
        return this;
    }

    public int getResponseSuccessNum() {
        return responseSuccessNum;
    }

    public TestCaseReport setResponseSuccessNum(int responseSuccessNum) {
        this.responseSuccessNum = responseSuccessNum;
        return this;
    }

    public int getBusinessSuccessNum() {
        return businessSuccessNum;
    }

    public TestCaseReport setBusinessSuccessNum(int businessSuccessNum) {
        this.businessSuccessNum = businessSuccessNum;
        return this;
    }

    public List<CallResult> getCallResults() {
        return callResults;
    }

    public TestCaseReport setCallResults(List<CallResult> callResults) {
        this.callResults = callResults;
        return this;
    }
}
